package br.com.fatecpg.mdioficina;

/*
 * ProgramacaoServicoJInternalFrame.java
 *
 * Created on 17 de Maio de 2009, 11:36
 */



/**
 *
 * @author  Taiguara
 */
public class AlterarAgendaContatoJInternalFrame extends javax.swing.JInternalFrame {

    /** Creates new form ProgramacaoServicoJInternalFrame */
    public AlterarAgendaContatoJInternalFrame() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        servicorealizadobuttonGroup = new javax.swing.ButtonGroup();
        valorbuttonGroup = new javax.swing.ButtonGroup();
        jPanel1 = new javax.swing.JPanel();
        cdcontatojLabel = new javax.swing.JLabel();
        nmcontatojLabel = new javax.swing.JLabel();
        cdtelefonejLabel = new javax.swing.JLabel();
        cdtelefonecelularjLabel = new javax.swing.JLabel();
        nmcontatojTextField = new javax.swing.JTextField();
        dsatividadecontatojLabel = new javax.swing.JLabel();
        dsatividadecontatojComboBox = new javax.swing.JComboBox();
        cadastrarjButton = new javax.swing.JButton();
        limparjButton = new javax.swing.JButton();
        cdtelefonejFormattedTextField = new javax.swing.JFormattedTextField();
        cdtelefonecelularjFormattedTextField1 = new javax.swing.JFormattedTextField();
        cdcontatojComboBox = new javax.swing.JComboBox();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Agenda de Contatos - Alteração:");
        setFrameIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/fatecpg/images/icone_servico_24x24.png"))); // NOI18N

        jPanel1.setBackground(new java.awt.Color(199, 204, 213));

        cdcontatojLabel.setText("Cód. Contato:");

        nmcontatojLabel.setText("Nome Contato:");

        cdtelefonejLabel.setText("Telefone:");

        cdtelefonecelularjLabel.setText("Celular:");

        dsatividadecontatojLabel.setText("Atividade do Contato:");

        dsatividadecontatojComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "-- Selecione --", "Item 2", "Item 3", "Item 4" }));

        cadastrarjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/fatecpg/images/botao_atualiza_24x24.png"))); // NOI18N
        cadastrarjButton.setText("Alterar");

        limparjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/fatecpg/images/botao_limpar_24x24.png"))); // NOI18N
        limparjButton.setText("Limpar");

        cdtelefonejFormattedTextField.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("(##)####-####")));

        cdtelefonecelularjFormattedTextField1.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("(##)####-####")));

        cdcontatojComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "-- Selecione --", "Item 2", "Item 3", "Item 4" }));

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(cdcontatojLabel)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cdcontatojComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(limparjButton)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(cadastrarjButton))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                .addComponent(nmcontatojLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(nmcontatojTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 311, Short.MAX_VALUE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                .addComponent(cdtelefonejLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(cdtelefonejFormattedTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(15, 15, 15)
                                .addComponent(cdtelefonecelularjLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(cdtelefonecelularjFormattedTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                .addComponent(dsatividadecontatojLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(dsatividadecontatojComboBox, 0, 278, Short.MAX_VALUE)))
                        .addGap(26, 26, 26))))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(17, 17, 17)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(cdcontatojLabel)
                    .addComponent(cdcontatojComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(nmcontatojTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(nmcontatojLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(cdtelefonejLabel)
                    .addComponent(cdtelefonejFormattedTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cdtelefonecelularjLabel)
                    .addComponent(cdtelefonecelularjFormattedTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(12, 12, 12)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(dsatividadecontatojLabel)
                    .addComponent(dsatividadecontatojComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 75, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(limparjButton)
                    .addComponent(cadastrarjButton))
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton cadastrarjButton;
    private javax.swing.JComboBox cdcontatojComboBox;
    private javax.swing.JLabel cdcontatojLabel;
    private javax.swing.JFormattedTextField cdtelefonecelularjFormattedTextField1;
    private javax.swing.JLabel cdtelefonecelularjLabel;
    private javax.swing.JFormattedTextField cdtelefonejFormattedTextField;
    private javax.swing.JLabel cdtelefonejLabel;
    private javax.swing.JComboBox dsatividadecontatojComboBox;
    private javax.swing.JLabel dsatividadecontatojLabel;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JButton limparjButton;
    private javax.swing.JLabel nmcontatojLabel;
    private javax.swing.JTextField nmcontatojTextField;
    private javax.swing.ButtonGroup servicorealizadobuttonGroup;
    private javax.swing.ButtonGroup valorbuttonGroup;
    // End of variables declaration//GEN-END:variables

}
